//
//  YKEmotionPopView.m
//  youkan
//
//  Created by 吴高烽 on 16/5/2.
//  Copyright © 2016年 Honsintech. All rights reserved.
//

#import "YKEmotionPopView.h"
#import "YKEmotinoButton.h"
@interface YKEmotionPopView ()
@property (weak, nonatomic) IBOutlet YKEmotinoButton *button;
@end

@implementation YKEmotionPopView

+(instancetype)popView{
    return [[[NSBundle mainBundle]loadNibNamed:@"YKEmotionPopView" owner:nil options:nil]firstObject];
}
-(void)setEmotion:(YKEmotions *)emotion{
    _emotion = emotion ;
    self.button.emotion = emotion ;
}
@end
